java_library(
    name = "elasticsearch",
    srcs = glob(["**/*.java"]),
    visibility = ["//visibility:public"],
    deps = [
        "//java/com/google/gerrit/extensions:api",
        "//java/com/google/gerrit/index",
        "//java/com/google/gerrit/index:query_exception",
        "//java/com/google/gerrit/lifecycle",
        "//java/com/google/gerrit/reviewdb:server",
        "//java/com/google/gerrit/server",
        "//lib:gson",
        "//lib:guava",
        "//lib:gwtorm",
        "//lib:protobuf",
        "//lib/commons:codec",
        "//lib/commons:lang",
        "//lib/elasticsearch",
        "//lib/elasticsearch:jest",
        "//lib/elasticsearch:jest-common",
        "//lib/elasticsearch:joda-time",
        "//lib/guice",
        "//lib/guice:guice-assistedinject",
        "//lib/jgit/org.eclipse.jgit:jgit",
        "//lib/log:api",
        "//lib/lucene:lucene-analyzers-common",
        "//lib/lucene:lucene-core",
    ],
)
